package com.hw01.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 修改员工密码
 */

@Data
@ApiModel("新密码")
public class ChangePasswordDto {

    /**
     * 员工用户id
     */
    @ApiModelProperty(value = "员工用户id", required = true)
    private Long userId;

    /**
     * 旧密码
     */
    @ApiModelProperty(value = "旧密码", required = true)
    private String oldPassword;

    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码", required = true)
    private String newPassword;

    /**
     * 确认新密码
     */
    @ApiModelProperty(value = "确认新密码", required = true)
    private String confirmNewPassword;

}
